package com.cy.pj.sys.dao;


import com.cy.pj.sys.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserDao {

    /*拿到User*/
    User getUserByName(String userName);


    /*修改User*/
    int updatePassword(@Param("id") int id, @Param("password") String password);
}
